package com.kinglone.front;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

import javax.servlet.http.HttpServletRequest;

@Controller
public class IndexController {

	@RequestMapping("/index.jspx")
	public ModelAndView index( HttpServletRequest request){
		ModelAndView mv = new ModelAndView("/admin/home.html");
		request.setAttribute("user","admin");
		return mv;
	}
}
